#include <iostream>
#include <cmath>

using namespace std;

class CIRCLE
{
private:
  double x, y, r;

public:
  void set(double, double, double);
  void area();
  void perimeter();
  void show();
};

void CIRCLE::set(double a, double b, double c)
{
  x = a;
  y = b;
  r = c;
}

void CIRCLE::perimeter( )
{
  cout << 2 * 3.14 * r;
}

void CIRCLE::area()
{
  cout << 3.14 * r * r;
}

void CIRCLE::show()
{
  cout << x << y << r;
}

int main()
{
  CIRCLE a;
  double x, y, r;
  cin >> x >> y >> r;
  a.set(x, y, r);
  a.show();
  cout << endl;
  cout < a.perimeter() << endl;
  cout << a.area() << endl;
  return 0;
}
